<html>
<body>
<#list print as p>
    <div id="page${p.page}">
        <div style="width: 100%;font-size: 22px;text-align: center;font-weight: 900;">
            ${bp.project_code}  考试证书签领表
        </div>
        <div style="width: 100%;font-size: 16px;text-align: right;margin: 10px 0;">
            <strong>报考单位：</strong>${dep.dep_name}  &nbsp;&nbsp;<strong>报考班级：</strong>${bc.class_name}
        </div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
            <tr>
                <th >序号</th>
                <th>姓名</th>
                <th>身份证号码</th>
                <th>手机</th>
                <th>项目</th>
                <th>证书编号</th>
                <th>领证人签名</th>
                <th style="width: 80px;">签收时间</th>
                <th style="width: 100px;">备注</th>
            </tr>
            <#list p.content as bps>
                <tr>
                    <td>${bps_index+1}</td>
                    <td>${bps.student_name}</td>
                    <td>${bps.student_id_cart}</td>
                    <td>${bps.student_tel_phone}</td>
                    <td>${bps.project_name}</td>
                    <td>${bps.project_card_code}</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </#list>
        </table>
    </div>
</#list>
<!-- 插入打印控件 -->
<OBJECT  ID="jatoolsPrinter" CLASSID="CLSID:B43D3361-D075-4BE2-87FE-057188254255"
         codebase="jatoolsPrinter.cab#version=8,6,0,0"></OBJECT>
<script>
    function doPrint() {
        myDoc = {
            settings:{
                paperName:'a4',
                orientation:2,
                topMargin:100,
                leftMargin:100,
                bottomMargin:100,
                rightMargin:100
            },
            documents: document,
            /*
             要打印的div 对象在本文档中，控件将从本文档中的 id 为 'page1' 的div对象，
             作为首页打印id 为'page2'的作为第二页打印            */
            copyrights: '杰创软件拥有版权  www.jatools.com' // 版权声明,必须
        };
        jatoolsPrinter.printPreview(myDoc);
    }
</script>

</body>
</html>